﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Admin.NET.Application.Request;

/// <summary>
/// 商品列表请求类
/// </summary>
public class ListProductInput : BasePageInput { 

    /// <summary>
    /// 商品名称
    /// </summary> 
    public string Name { get; set; }

    /// <summary>
    /// 商品编码
    /// </summary> 
    public string Code { get; set; }

    /// <summary>
    /// 产地
    /// </summary> 
    public string Origin { get; set; }

    /// <summary>
    /// 原价
    /// </summary> 
    public string OriginalPrice { get; set; }
    /// <summary>
    /// 封面图片地址
    /// </summary> 
    public string Cover { get; set; }
    /// <summary>
    /// 销量
    /// </summary> 
    public int SaleCount { get; set; }
    /// <summary>
    /// 评分
    /// </summary> 
    public decimal? Rating { get; set; }

    /// <summary>
    /// 折扣价
    /// </summary> 
    public string DiscountedPrice { get; set; }

    /// <summary>
    /// 标签集合
    /// </summary> 
    public string TagsJson { get; set; }

    /// <summary>
    /// 描述
    /// </summary> 
    public string Description { get; set; }

    /// <summary>
    /// 生产日期
    /// </summary> 
    public DateTime ProductionDate { get; set; }

    /// <summary>
    /// 保质期（天）
    /// </summary> 
    public int ExpirationDays { get; set; }

    /// <summary>
    /// 是否在售
    /// </summary> 
    public bool? IsEnabled { get; set; } 
    /// <summary>
    /// 修改者姓名
    /// </summary> 
    public string UpdateUserName { get; set; }
    /// <summary>
    /// 联系电话合集
    /// </summary>
    public string PhoneNumbers { get;   set; }
}
